﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Project.Model;

namespace Project.IData
{
    public interface IUserInfoDat
    {
        int Create(UserInfo userInfo);
        UserInfo Edit(UserInfo userInfo);
        int Delete(UserInfo userInfo);
        List<UserInfo> LoadAllData();
        List<UserInfo> LoadByPage(int pageIndex, int pageCount,out int total);
    }
}
